package com.oa.srms.apps.dao.goods;

import java.util.List;

import com.oa.srms.apps.entity.goods.GoodInfoValue;

public interface IGoodInfoDao {
	
	public Integer addGoodInfo(GoodInfoValue goodInfoValue) throws Exception;
	
	public void editGoodInfo(GoodInfoValue goodInfoValue) throws Exception;
	
	public GoodInfoValue queryById(Integer id) throws Exception;
	
	public List<GoodInfoValue> queryGoodInfo(GoodInfoValue goodInfoValue,Integer rows, Integer pageNo) throws Exception;
	
	public List<GoodInfoValue> queryGoodInfo(Integer states) throws Exception;
	
	public Integer getTotalPageNumber(GoodInfoValue goodInfoValue, Integer rows);
	
	public Integer getTotalNumber();

}
